<?php

/**
 * AgencyCMS bootstrap file
 *
 * @package       AgencyCMS
 * @subpackage    AgencyCMS.config
 * @license       http://www.opensource.org/licenses/mit-license.php The MIT License
 */

// define AgencyCMS root directory
define('AGENCY_DIR', ROOT . DS . 'agency');

// tell CakePHP where to look for other classes
$modelPaths      = array(AGENCY_DIR . DS . 'models' . DS);
$behaviorPaths   = array(AGENCY_DIR . DS . 'models' . DS . 'behaviors' . DS);
$viewPaths       = array(AGENCY_DIR . DS . 'views' . DS);
$helperPaths     = array(AGENCY_DIR . DS . 'views' . DS . 'helpers' . DS);
$controllerPaths = array(AGENCY_DIR . DS . 'controllers' . DS);
$componentPaths  = array(AGENCY_DIR . DS . 'controllers' . DS . 'components' . DS);

// include AgencyCMS core config
include AGENCY_DIR . DS . 'config' . DS . 'core.php';

// set the timezone
date_default_timezone_set(Configure::read('Agency.timezone'));